﻿@{
    ViewBag.Title = "Common Command";
    Layout = "~/Views/Shared/_Layout.cshtml";
}
    <ol class="breadcrumb">
    <li><a href="/Home/Home">Home</a></li>
     <li class="active">Common Introduction</li>
    </ol>   
     
<div id="introduction">
    <h1 class="text-left">Introduction Of Common</h1>
    <p>The Common part of the framework is another independent layer from which various commands which possess getters and setters also validates those commands.</p>
    <p> The Common has another important structure in it, that is known as events, events are the function raised from user perspective, e.g. When user want to register with the application he/her open registration module, hence an event is raised in order to register an user.
    <p>
    <p>
        <img src="~/Images/Common/dotnet_user_control_1.gif" alt="" class="img-thumbnail" width=100% height=100%/>
      
    </p>
    <p>
        The basic foundation behind this programming model is the idea of "publisher and subscribers." In this model, you have publishers who will do some logic and publish an "event." Publishers will then send out their event only to subscribers who have subscribed to receive the specific event.
        In C#, any object can publish a set of events to which other applications can subscribe. When the publishing class raises an event, all the subscribed applications are notified. The following figure shows this mechanism.
    </p>
    <p>The Infrastructure is another important part of the sub structure Common, It provides the basic Interfacing to the Data. An Infrastructure defines how to get data available in the part of UI or System to the command so that an Query can be build according to which user can perform many functionallity.</p>
    <p>This Common has another set of package called Enumeration, an enumeration defines the mapping of objects or data from "0".</p>
    <article>Generally Enum, does not allow to add null value, but the function of Enum in Common, does expects null values e.g. On Precedence of Roll in an system Enums applies to 1 for Administrator, 2 for limited and so on.</article>
</div>

           